package cn.edu.seig.textbook.service;

import cn.edu.seig.textbook.domain.pojo.Students;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author day
 * @since 2024-11-07
 */
public interface IStudentsService extends IService<Students> {
    List<Students> getStudentsByName(String name);
    List<Students> getStudents();
    boolean addStudent(Students students);
    Students getStudentById(String id);
    int deleteStudentById(String id);
    Students getStudentByUserId(int userId);
}
